package com.pshcp.domain.dto;

import com.framework.base.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 支付记录
 * </p>
 *
 * @author auto generator
 * @since 2022-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PayInfo对象", description="支付记录")
public class PayInfoDTO extends BaseDTO implements Serializable {

    private static final long serialVersionUID=1L;


    private Long id;

    @ApiModelProperty(value = "支付业务类型")
    private Integer payBusiness;

    @ApiModelProperty(value = "业务订单ID")
    private Long bizId;

    @ApiModelProperty(value = "支付类型 1微信 2支付宝 3云闪付")
    private Integer payMode;

    @ApiModelProperty(value = "三方单号")
    private String thirdNo;

    @ApiModelProperty(value = "工行订单号")
    private String icbcOrderId;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "支付状态 0未支付，1支付中，2支付完成，3支付失败")
    private Integer payStatus;

    @ApiModelProperty(value = "三方退款单号")
    private String thirdRefundNo;

    @ApiModelProperty(value = "退款状态 0成功 1失败 2未知")
    private Integer refundStatus;

    @ApiModelProperty(value = "退款时间")
    private Date refundTime;

    @ApiModelProperty(value = "状态 0正常 1删除")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
